package cc.yiueil.configuration;

import cc.yiueil.interceptor.TokenInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InterceptorConfiguration {

    @Bean
    public RequestInterceptor requestInterceptor() {
        return new TokenInterceptor();
    }
}
